package com.ssy.lingxi.after.sale.model.vo.request;

import com.ssy.lingxi.after.sale.model.bo.EvaluateBO;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 维修确认完成VO
 * @author 伍将
 * @date 2020/9/2
 * @version 2.0.0
 */
public class RepairGoodsConfirmCompleteVO implements Serializable {
    private static final long serialVersionUID = 4988680844352347200L;

    /**
     * 维修id
     */
    @NotNull(message = "维修Id要大于0")
    @Positive(message = "维修Id要大于0")
    private Long repairId;

    /**
     * 评价
     */
    @Valid
    private EvaluateBO evaluate;

    public Long getRepairId() {
        return repairId;
    }

    public void setRepairId(Long repairId) {
        this.repairId = repairId;
    }

    public EvaluateBO getEvaluate() {
        return evaluate;
    }

    public void setEvaluate(EvaluateBO evaluate) {
        this.evaluate = evaluate;
    }
}
